package com.dxc.intern.mapper;

import com.dxc.intern.entity.Resume;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 简历库 Mapper 接口
 * </p>
 *
 * @author zhangchengming
 * @since 2022-02-21
 */
@Mapper
public interface ResumeMapper extends BaseMapper<Resume> {

    List<Resume> page(int index, int size);
    int count();

    List<Resume> selectLike(int index, int size,@Param("resume") Resume resume);
    int delete(Integer id);
    int update(Resume resume);
}
